<?php require_once($_SERVER['DOCUMENT_ROOT']."/defaultconf.mex");
	require_once($GLOBALS['PAD']."/Modules/MF93FL27/modconf.mex");
	MYTCONN();  

echo '<div class="Line">Entradas e Movimentacao</div>';


	mn_field('button','ED','stk_newentry','Nova Entrada','10','30','','SUBMIT" style="margin:2px;padding:2px;height:18px"
		onclick="modalwindow(\'Nova Entrada\',\''.$MODURL.'lib/stk_newentry.mex\',400,400);" style="width:98%');

	mn_field('button','ED','stk_massentry','Nova Multi-Entrada','10','30','','SUBMIT" style="margin:2px;padding:2px;height:18px"
		onclick="idwindow(\'Nova Entrada\',\'winmltentry\',\'\',\''.$MODURL.'lib/stk_newmultientry.mex\',900,500);" style="width:98%');

	mn_field('button','ED','stk_redirentry','Reencaminhamentos','10','30','','SUBMIT" style="margin:2px;padding:2px;height:18px"
		onclick="replaceUrl(\'StockPanel\',\''.$MODURL.'lib/stk_pn4.mex\');" style="width:98%');

	mn_field('button','ED','stk_requested','Pedidos à Sede','10','30','','SUBMIT" style="margin:2px;padding:2px;height:18px"
		onclick="replaceUrl(\'StockPanel\',\''.$MODURL.'lib/stk_pn2.mex\');" style="width:98%');


echo '<div class="Line">Consultas</div>';

	mn_field('button','ED','stkqr_Entries','Registo de Entregas','10','30','','SUBMIT" style="margin:2px;padding:2px;height:18px"
		onclick="replaceUrl(\'StockPanel\',\''.$MODURL.'lib/stk_pn7.php\');" style="width:98%');

	mn_field('button','ED','stkqr_Entries','Ver Entradas','10','30','','SUBMIT" style="margin:2px;padding:2px;height:18px"
		onclick="replaceUrl(\'StockPanel\',\''.$MODURL.'lib/stk_pn6.php\');" style="width:98%');

	mn_field('button','ED','stkqr_Pending','Por Distribuir','10','30','','SUBMIT" style="margin:2px;padding:2px;height:18px"
		onclick="replaceUrl(\'StockPanel\',\''.$MODURL.'lib/stk_pn1.mex\');" style="width:98%');

	mn_field('button','ED','stkqr_Active','Distribuido','10','30','','SUBMIT" style="margin:2px;padding:2px;height:18px"
		onclick="replaceUrl(\'StockPanel\',\''.$MODURL.'lib/stk_pn5.mex\');" style="width:98%');


echo '<div class="Line">Relatorios</div>';


	mn_field('button','ED','stkrpt_grid','Relatorio Grelha','10','30','','SUBMIT" style="margin:2px;padding:2px;height:18px"
		onclick="replaceUrl(\'StockPanel\',\''.$MODURL.'lib/stk_pn3.mex\');" style="width:98%');

	
echo '<div class="Line">Exportar</div>';


	mn_field('button','ED','stkrpt_grid','Imprimir Grelha','10','30','','SUBMIT" style="margin:2px;padding:2px;height:18px"
		onclick="newwindow(\'Aplications/Media/Printer_Grid2.mex\',\'_blank\');" style="width:98%');

	mn_field('button','ED','stk_massentry','Imprimir Lista','10','30','','SUBMIT" style="margin:2px;padding:2px;height:18px"
		onclick="newwindow(\'Aplications/Media/Printer_Grid.mex\',\'_blank\');" style="width:98%');

	mn_field('button','ED','stk_massentry','Ficheiro Excel','10','30','','SUBMIT" style="margin:2px;padding:2px;height:18px"
		onclick="newwindow(\'Aplications/Media/Export_Spreadsheet.mex\',\'_blank\');" style="width:98%');




